package com.tom.baselibrary.http;

/**
 * Created by Tom on 2023/12/05 17:07.
 */
public class SPHttpCache {

    public void saveCache(String url, String resultJson) {
        PreferencesUtil.getInstance().saveParam(url, resultJson);
    }

    public String getCache(String url) {
        return (String) PreferencesUtil.getInstance().getObject(url);
    }
}
